package com.sz.stock.mapper;

import com.sz.stock.model.Moneytrad;
import com.sz.stock.model.MoneytradExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
@Mapper

public interface MoneytradMapper {
    int countByExample(MoneytradExample example);

    int deleteByExample(MoneytradExample example);

    int insert(Moneytrad record);

    int insertSelective(Moneytrad record);

    List<Moneytrad> selectByExample(MoneytradExample example);

    int updateByExampleSelective(@Param("record") Moneytrad record, @Param("example") MoneytradExample example);

    int updateByExample(@Param("record") Moneytrad record, @Param("example") MoneytradExample example);
}